cmake_minimum_required(VERSION 2.8)
project(person-detpose)

find_package(OpenCV REQUIRED)
include_directories(include)
include_directories(src)
file(GLOB openpose_src ./src/*.cpp)

#add_library(human STATIC ${openpose_src})
#target_link_libraries(human ${OpenCV_LIBS})

#add_executable(main example/showpose.cpp)
#target_link_libraries(main ${OpenCV_LIBS})

file(GLOB posedet_src ./src/posedet/*.cpp ${openpose_src})
add_executable(person-detpose ${posedet_src} ${openpose_src})
target_link_libraries(person-detpose ${OpenCV_LIBS})